package com.adpython.utils;

import java.util.Date;

public class DateUtil {
	
	/**
	 * return (endDay-startDay)
	 */
	public static int diffDays(Date startDay, Date endDay){
		long day=24L*60L*60L*1000L;
		return (int)((endDay.getTime()-startDay.getTime())/day);
	}
	
}
